package edu.spbu.eclipse.addressbook.andrpodk;

public class Entry {
	private String name,telephone,e_mail,address;
	public Entry(String name,String telephone,String e_mail,String address){
		this.name=name;
		this.telephone=telephone;
		this.e_mail=e_mail;
		this.address=address;
	}
	public String getAddress() {
		return address;
	}
	public String getE_mail() {
		return e_mail;
	}
	public String getName() {
		return name;
	}
	public String getTelephone() {
		return telephone;
	}
	public String[] toStringArray(){
		return new String[]{name,telephone,e_mail,address};
	}
	public String toString(){
	    return name +SaverLoader.DELIMITER+ telephone + SaverLoader.DELIMITER + e_mail
	    + SaverLoader.DELIMITER + address;
	}
}
